package cn.edu.cdp.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface StudyDao {
    @Update("update study set score=#{score} where student_id=#{studentId} and course_id=#{courseId}")
    void updateScore(@Param("studentId") String studentId, @Param("courseId") String courseId, @Param("score") Double score);
}
